package com.xzp.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
//意味这这个控制器可以接受参数，并返回
@RestController
public class hello {

    @GetMapping(value = "/hello")
    public String hello() {
        return "hello Spring-Boot";
    }
}
